package com.mamba.microservice.mybatis.config;


/**
 * Copyright ©2020 mamba All Rights Reserved
 * 请添加类/接口的说明：
 *
 * @Package: com.mamba.microservice.mysql.autoconfigure
 * @author: fangjin
 * @date: 2020年05月05日 19时10分
 */
public class DruidDataSourceProperties {

    private String url;

    private String userName;

    private String password;

    private String driverClassName;

    private String publicKey;

    private String decrypt;

    private int poolInitSize;

    private int poolMinIdle;

    private int poolMaxActive;

    private long maxWait;

    private long minEvictTime;

    private long maxEvictTime;

    private Boolean testWhileIdle;

    private Boolean testOnBorrow;

    private Boolean testOnReturn;

    private String connectionInitSqls;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getDecrypt() {
        return decrypt;
    }

    public void setDecrypt(String decrypt) {
        this.decrypt = decrypt;
    }

    public int getPoolInitSize() {
        return poolInitSize;
    }

    public void setPoolInitSize(int poolInitSize) {
        this.poolInitSize = poolInitSize;
    }

    public int getPoolMinIdle() {
        return poolMinIdle;
    }

    public void setPoolMinIdle(int poolMinIdle) {
        this.poolMinIdle = poolMinIdle;
    }

    public int getPoolMaxActive() {
        return poolMaxActive;
    }

    public void setPoolMaxActive(int poolMaxActive) {
        this.poolMaxActive = poolMaxActive;
    }

    public long getMaxWait() {
        return maxWait;
    }

    public void setMaxWait(long maxWait) {
        this.maxWait = maxWait;
    }

    public long getMinEvictTime() {
        return minEvictTime;
    }

    public void setMinEvictTime(long minEvictTime) {
        this.minEvictTime = minEvictTime;
    }

    public long getMaxEvictTime() {
        return maxEvictTime;
    }

    public void setMaxEvictTime(long maxEvictTime) {
        this.maxEvictTime = maxEvictTime;
    }

    public Boolean getTestWhileIdle() {
        return testWhileIdle;
    }

    public void setTestWhileIdle(Boolean testWhileIdle) {
        this.testWhileIdle = testWhileIdle;
    }

    public Boolean getTestOnBorrow() {
        return testOnBorrow;
    }

    public void setTestOnBorrow(Boolean testOnBorrow) {
        this.testOnBorrow = testOnBorrow;
    }

    public Boolean getTestOnReturn() {
        return testOnReturn;
    }

    public void setTestOnReturn(Boolean testOnReturn) {
        this.testOnReturn = testOnReturn;
    }

    public String getConnectionInitSqls() {
        return connectionInitSqls;
    }

    public void setConnectionInitSqls(String connectionInitSqls) {
        this.connectionInitSqls = connectionInitSqls;
    }
}
